serial: powerpc: Implement CONFIG_SERIAL_MULTI into cogent serial driver
authorMarek Vasut <[email protected]>
Thu, 13 Sep 2012 10:29:31 +0000 (12:29 +0200)
committerTom Rini <[email protected]>
Mon, 15 Oct 2012 18:53:53 +0000 (11:53 -0700)
commitd25c39d36047ec4aaa589259b93227d940a4e681
treeac4feebe70e44072c0e468ce730d0e760a280bc1
parentc45a14ad576d0126932325e8df8f2e4357465546
serial: powerpc: Implement CONFIG_SERIAL_MULTI into cogent serial driver

Implement support for CONFIG_SERIAL_MULTI into cogent serial driver.
This driver was so far only usable directly, but this patch also adds
support for the multi method. This allows using more than one serial
driver alongside the cogent driver. Also, add a weak implementation
of default_serial_console() returning this driver.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: Stefan Roese <[email protected]>
board/cogent/serial.c
common/serial.c